<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>后代选择器</title>
    <style>
    .container>p{
        color: yellow;
    }/* 亲儿子 */
    .container p{
        color: red;
    }/* 全都要 */
    </style>
</head>
<body>
    <div class="container">
        <ul>
            <li><p>hello world</p></li>
            <li><p>hello world</p></li>
            <li><p>hello world</p></li>
            <li><p>hello world</p></li>
        </ul>
        <p>hello world</p>
        <p>hello world</p>
    </div>
</body>
</html>